<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
     <!--相当于 html 元素中的 a 标签-->
     <!--不推荐这么写 <a href='#/money'>普通的a标签</a> -->
     <router-link to="/money"  active-class="click" >挣钱</router-link>
     <br>
     <router-link to="/strong" active-class="click" >变强大</router-link>
      <router-view></router-view>
  </div>
</template>

<script>
//大驼峰书写方式
// import HelloVue from './components/HelloWorld.vue'
// import MakeMoney from './components/MakeMoney.vue'
// import BeStrong from './components/BeStrong.vue'
export default {
  name: 'App',
  components: {
    // MakeMoney:MakeMoney,
    // BeStrong,

  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
h2 {color:gold}
.click{color:goldenrod}
</style>
